package com.uuzz.lottery.agent.gateway.flow.answer.module.login.convertor;

import org.springframework.stereotype.Component;

import com.uuzz.lottery.agent.gateway.base.ISupplier;
import com.uuzz.lottery.agent.gateway.flow.answer.module.login.business.BusinessIn;
import com.uuzz.lottery.agent.gateway.flow.answer.module.login.ice.IceIn;

@Component()
public class BusinessIn2IceIn implements ISupplier<BusinessIn,IceIn> {


    /**
     * <br>描 述：提供对象
     * <br>作 者：liuqing
     * <br>历 史: (版本) 作者 时间 注释
     *
     * @param in
     * @return
     */
    @Override
    public IceIn buildFrom(BusinessIn in) {
        IceIn iceIn = new IceIn();
        iceIn.setName(in.getUserName());
        return iceIn;
    }
}
